#!/bin/bash

rm -rf ./.cache/Server ./.cache/SocketClient*

java -cp `echo "$HOME/jxta/bcprov-jdk14.jar:$HOME/jxta/javax.servlet.jar:$HOME/jxta/jxta.jar:$HOME/jxta/org.mortbay.jetty.jar:."` filesystem.server.Server > logServer &

java -cp `echo "$HOME/jxta/bcprov-jdk14.jar:$HOME/jxta/javax.servlet.jar:$HOME/jxta/jxta.jar:$HOME/jxta/org.mortbay.jetty.jar:."` filesystem.client.Client < input1 > logNode1 &

java -cp `echo "$HOME/jxta/bcprov-jdk14.jar:$HOME/jxta/javax.servlet.jar:$HOME/jxta/jxta.jar:$HOME/jxta/org.mortbay.jetty.jar:."` filesystem.client.Client < input2 > logNode2